<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>lottery</title>

    <link rel="stylesheet" href="index.css" />
  </head>
  <body>
    <div id="app">
      <h1>妈妈币抽奖</h1>
      <p v-if="new Date().toDateString() === 'Fri Feb 09 2024' && showPlus">
        新年快乐，今日额外再送你66个币
      </p>
      <input
        type="text"
        placeholder="请输入幸运数字"
        type="number"
        v-model="luckyNum"
      />
      <div v-for="item in lotteryArr" class="row">
        <div
          v-for="(subItem,index) in item"
          class="item"
          v-bind:class="{curr: subItem === currIndex || subItem === 'Go'}"
          @click="go(subItem)"
        >
          {{subItem}}
        </div>
      </div>
    </div>
  </body>
  <script src="./lib/vue.min.js"></script>
  <script src="index.js"></script>
</html>
